import Layout from '@/views/layout/Layout';
const _import = require('@/router/_import_' + process.env.NODE_ENV);

const Device = [{
  path: '/device',
  component: Layout,
  authority: 'device',
  children: [{
    path: 'list',
    component: _import('device/list/index'),
    authority: 'list'
  }, {
    path: 'info',
    component: _import('device/info/index'),
    authority: 'info:btn_update'
  }]
}]

export default Device